import requests

url = 'http://localhost:8000/elkhisagent/report/upload'
files = {'file': open('report.pdf', 'rb')}
response = requests.post(url, files=files)
print(response.text)